package com.ruoyi.paas.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户签到对象 xsp_user_sign
 * 
 * @author zhiminhu
 * @date 2021-04-26
 */
public class XspUserSign extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 系统唯一ID */
    private Long id;

    /** 用户的Id */
    @Excel(name = "用户的Id")
    private Long userCode;
    /** 用户昵称  只是用于传值 */
    @Excel(name = "用户昵称")
    private String nickname;
    /** 签到总天数 */
    @Excel(name = "签到总天数")
    private Integer signCount;

    /** 连续签到天数 */
    @Excel(name = "连续签到天数")
    private Integer continueSign;
    /** 今天是否签到  用户给前端使用 */
    private boolean signStatus;
    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserCode(Long userCode) 
    {
        this.userCode = userCode;
    }

    public Long getUserCode() 
    {
        return userCode;
    }
    public void setSignCount(Integer signCount)
    {
        this.signCount = signCount;
    }

    public Integer getSignCount()
    {
        return signCount;
    }
    public void setContinueSign(Integer continueSign) 
    {
        this.continueSign = continueSign;
    }

    public Integer getContinueSign() 
    {
        return continueSign;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public boolean isSignStatus() {
        return signStatus;
    }

    public void setSignStatus(boolean signStatus) {
        this.signStatus = signStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userCode", getUserCode())
            .append("signCount", getSignCount())
            .append("continueSign", getContinueSign())
            .append("remarks", getRemarks())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
